package com.cmbchina.entity;

import java.math.BigDecimal;

public class BaiduExchangeRate{
    private BigDecimal rateNum;
    private Currency sourceCurrency;
    private Currency targetCurrency;

    public BaiduExchangeRate(BigDecimal rateNum, Currency from, Currency to) {
        this.rateNum = rateNum;
        this.sourceCurrency = from;
        this.targetCurrency = to;
    }

    public BigDecimal getRateNum() {
        return rateNum;
    }

    public void setRateNum(BigDecimal rateNum) {
        this.rateNum = rateNum;
    }

    public Currency getSourceCurrency() {
        return sourceCurrency;
    }

    public void setSourceCurrency(Currency sourceCurrency) {
        this.sourceCurrency = sourceCurrency;
    }

    public Currency getTargetCurrency() {
        return targetCurrency;
    }

    public void setTargetCurrency(Currency targetCurrency) {
        this.targetCurrency = targetCurrency;
    }
}
